#pragma once

#include "Grammar.h"
#include "Expression.h"
#include <string>

MAKE_PTR(CVariable);

class CVariable : public CUnit
{
public:

	std::string m_strName;

protected:

	EvalType doEval()
	{
		return GET_GRAMMAR()->getScope()->getSymbolTable()->getSymbol(m_strName);
	};

};